package com.ruoyi.iot.dataprocessing.domain;

import lombok.Data;

import java.util.List;

@Data
public class WatchMessage {
    private DeviceData data;
    private String deviceName;
    private String mac;
    private String phoneNumber;
    private Integer type;


    @Data
    public static class DeviceData {
        private BloodComposition bloodComposition;
        private Double bloodGlucose;
        private Integer highValue;
        private Integer lowValue;
        private String mTime;
        private List<Integer> oxygens;
        private List<Integer> ppgs;
        private Integer stepValue;
    }

    @Data
    public static class BloodComposition {
        private Double hDL;
        private Double lDL;
        private Double tAG;
        private Double tCHO;
        private Double uricAcid;
    }
}
